package item

import (
	"game_server/logic/gate/api"
	"game_server/model"
	"proto/item"
)

type itemRpc struct {
}

var (
	rpc = new(itemRpc)
)

func (*itemRpc) SyncData(player *model.Player, msg *proto_item.SyncData) {
	gate_api.SendMsg(player, msg)
}

func (*itemRpc) SyncChange(player *model.Player, msg *proto_item.SyncChange) {
	gate_api.SendMsg(player, msg)
}
